
public class Tache {
	private String nom;
	private Priorite priorite;
	private float duree;

	public Tache (){
		nom="";
		priorite=null;
		duree=0;
	}
	
	public Tache (String tNom, Priorite tPriorite, float tDuree) {
		nom=tNom;
		priorite=tPriorite;
		duree=tDuree;
	}

	public String getNom() {
		return nom;
	}

	public void setNom(String nom) {
		this.nom = nom;
	}

	public Priorite getPriorite() {
		return priorite;
	}

	public void setPriorite(Priorite priorite) {
		this.priorite = priorite;
	}

	public float getDuree() {
		return duree;
	}

	public void setDuree(float duree) {
		this.duree = duree;
	}

}
